package entity.sparemanage.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import entity.sparemanage.vo.spareListUseVo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class insertSpareUseDto {
    //申请时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date spUsetime;
    //领用申请人ID
    private Integer useApplicantid;
    //领用类型
    private Integer useType;
    //工单类型
    private Integer workType;
    //领用主题
    private String spUsetheme;
    //所在部门
    private String useDepartment;
    //领用原因
    private String useReason;
    //关联工单ID
    private Integer workId;
    //备注
    private String useRemark;
    //是否关联设备
    private Integer useDevice;
    //设备ID
    private Integer deviceId;
    //备件明细
    private List<spareListUseVo> spareList;
    //关联文件
    private List<fileList> fileList;
}
